package com.nfzm.dao;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import com.nfzm.entity.NfzmArticlePic;

import org.apache.ibatis.annotations.Param;
/**
 * NfzmArticlePic的Dao接口
 * 
 * @author 
 *
 */
@Mapper
@Repository
public interface NfzmArticlePicDao {



	
	/**
	 * 获得一个NfzmArticlePic对象,以参数NfzmArticlePic对象中不为空的属性作为条件进行查询,返回符合条件的第一条
	 * 
	 * @param obj
	 * @return
	 */
	NfzmArticlePic selectNfzmArticlePicObjSingle(NfzmArticlePic obj);
	
	/**
	 * 获得一个NfzmArticlePic对象,以参数NfzmArticlePic对象中不为空的属性作为条件进行查询
	 * 
	 * @param obj
	 * @return
	 */
	List<NfzmArticlePic> selectNfzmArticlePicByObj(NfzmArticlePic obj);

	/**
	 * 插入NfzmArticlePic到数据库,包括null值
	 * 
	 * @param value
	 * @return
	 */
	int insertNfzmArticlePic(NfzmArticlePic value);
	
	/**
	 * 插入NfzmArticlePic中属性值不为null的数据到数据库
	 * 
	 * @param value
	 * @return
	 */
	int insertNotNullNfzmArticlePic(NfzmArticlePic value);
	
	/**
	 * 批量插入NfzmArticlePic到数据库,包括null值
	 * 
	 * @param value
	 * @return
	 */
	int insertNfzmArticlePicByBatch(List<NfzmArticlePic> value);
	
	
	

}